package pl.edu.agh.gt.stock;

import pl.edu.agh.gt.data.Rate;
import pl.edu.agh.gt.strategy.Strategy;

/**
 * This trader uses quote currency as base
 * i.e. it trades conversely to Trader and 
 * uses inverted rates (counter broker)
 * @author kpajak
 *
 */
public class CounterTrader extends Trader {

	public CounterTrader(String n, Stock stock, Strategy strategy) {
		super(n, stock, strategy);
		// use counter broker
		super.ctx.broker = stock.getCounterBroker();
	}
}
